<template>
	<view>
		<view class="p-5 text-center font-lg my-5">已绑：{{email}}</view>
		<view class="m-3" @click="bindEmail">
			<button type="warn">更换邮箱</button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				email:'',
			}
		},
		methods: {
			 bindEmail(){
			 	uni.navigateTo({
			 		url:'/pagesA/user/chang-email'
				})
			}
		},
		onLoad(e) {
			this.email=e.email
		}
	}
</script>

<style>
	page{
		background-color: #FFFFFF;
	}	
</style>
